/***********************************************************************\
*                                                                       *
* This file was created by Component Internal Interface Engine software *
*  Copyright(c) 2000-2012 by Krzysztof Pozniak (pozniak@ise.pw.edu.pl)  *
*                           All Rights Reserved.                        *
*                                                                       *
\***********************************************************************/

package cii_kx1_car3;

import cii_lib.*;

public class CCII_SPI_MASTER {

  public CCII_COMPONENT _CII_SPI_MASTER;

  private CCII_ACCESS_IPAR _IPAR_CLOCK_kHz;
  private CCII_ACCESS_IPAR _IPAR_SPI_CLK_kHz;
  private CCII_ACCESS_IPAR _IPAR_DATA_LEN;
  private CCII_ACCESS_IPAR _IPAR_DATA_WIDTH;
  public class CMPAR_CPOL_CII extends CCII_ACCESS_MPAR {
    public CMPAR_CPOL_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_STAT GetList() {return(CCIISYS.LIST_INTERF_STAT);}
  };
  private CMPAR_CPOL_CII _MPAR_CPOL_CII;
  public class CMPAR_CPHY_CII extends CCII_ACCESS_MPAR {
    public CMPAR_CPHY_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_STAT GetList() {return(CCIISYS.LIST_INTERF_STAT);}
  };
  private CMPAR_CPHY_CII _MPAR_CPHY_CII;
  public class CMPAR_DATA_OUT_CII extends CCII_ACCESS_MPAR {
    public CMPAR_DATA_OUT_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_STAT GetList() {return(CCIISYS.LIST_INTERF_STAT);}
  };
  private CMPAR_DATA_OUT_CII _MPAR_DATA_OUT_CII;
  private CCII_ACCESS_IR _BITS_CPOL;
  private CCII_ACCESS_IR _BITS_CPHY;
  private CCII_ACCESS_IR _BITS_START;
  private CCII_ACCESS_RO _BITS_STOP;
  private CCII_ACCESS_IR _WORD_DATA_LEN;
  private CCII_ACCESS_IR _WORD_DATA_SEND;
  private CCII_ACCESS_IR _WORD_DATA_ENA;
  private CCII_ACCESS_RO _WORD_DATA_REC;
  public CCII_SPI_MASTER(CCII_TABLE_INDEX itab, int cidx, CCII_INTERFACE interf, CCII_COMPONENT parent) {
    _CII_SPI_MASTER=new CCII_COMPONENT(itab,cidx,parent);
    _IPAR_CLOCK_kHz=null;
    _IPAR_SPI_CLK_kHz=null;
    _IPAR_DATA_LEN=null;
    _IPAR_DATA_WIDTH=null;
    _MPAR_CPOL_CII=null;
    _MPAR_CPHY_CII=null;
    _MPAR_DATA_OUT_CII=null;
    _BITS_CPOL=null;
    _BITS_CPHY=null;
    _BITS_START=null;
    _BITS_STOP=null;
    _WORD_DATA_LEN=null;
    _WORD_DATA_SEND=null;
    _WORD_DATA_ENA=null;
    _WORD_DATA_REC=null;
    if(_CII_SPI_MASTER.Number()==0) return;
    _IPAR_CLOCK_kHz = new CCII_ACCESS_IPAR(itab,_CII_SPI_MASTER);
    _IPAR_SPI_CLK_kHz = new CCII_ACCESS_IPAR(itab,_CII_SPI_MASTER);
    _IPAR_DATA_LEN = new CCII_ACCESS_IPAR(itab,_CII_SPI_MASTER);
    _IPAR_DATA_WIDTH = new CCII_ACCESS_IPAR(itab,_CII_SPI_MASTER);
    _MPAR_CPOL_CII = new CMPAR_CPOL_CII(itab,_CII_SPI_MASTER);
    _MPAR_CPHY_CII = new CMPAR_CPHY_CII(itab,_CII_SPI_MASTER);
    _MPAR_DATA_OUT_CII = new CMPAR_DATA_OUT_CII(itab,_CII_SPI_MASTER);
    _BITS_CPOL = new CCII_ACCESS_IR(itab,interf,_CII_SPI_MASTER);
    _BITS_CPHY = new CCII_ACCESS_IR(itab,interf,_CII_SPI_MASTER);
    _BITS_START = new CCII_ACCESS_IR(itab,interf,_CII_SPI_MASTER);
    _BITS_STOP = new CCII_ACCESS_RO(itab,interf,_CII_SPI_MASTER);
    _WORD_DATA_LEN = new CCII_ACCESS_IR(itab,interf,_CII_SPI_MASTER);
    _WORD_DATA_SEND = new CCII_ACCESS_IR(itab,interf,_CII_SPI_MASTER);
    _WORD_DATA_ENA = new CCII_ACCESS_IR(itab,interf,_CII_SPI_MASTER);
    _WORD_DATA_REC = new CCII_ACCESS_RO(itab,interf,_CII_SPI_MASTER);
  }
  public CCII_COMPONENT CII_SPI_MASTER() {return(_CII_SPI_MASTER.Number()==0?null:_CII_SPI_MASTER);};
  public CCII_ACCESS_IPAR IPAR_CLOCK_kHz() {return(_IPAR_CLOCK_kHz);};
  public CCII_ACCESS_IPAR IPAR_SPI_CLK_kHz() {return(_IPAR_SPI_CLK_kHz);};
  public CCII_ACCESS_IPAR IPAR_DATA_LEN() {return(_IPAR_DATA_LEN);};
  public CCII_ACCESS_IPAR IPAR_DATA_WIDTH() {return(_IPAR_DATA_WIDTH);};
  public CMPAR_CPOL_CII MPAR_CPOL_CII() {return(_MPAR_CPOL_CII);};
  public CMPAR_CPHY_CII MPAR_CPHY_CII() {return(_MPAR_CPHY_CII);};
  public CMPAR_DATA_OUT_CII MPAR_DATA_OUT_CII() {return(_MPAR_DATA_OUT_CII);};
  public CCII_ACCESS_IR BITS_CPOL() {return(_BITS_CPOL);};
  public CCII_ACCESS_IR BITS_CPHY() {return(_BITS_CPHY);};
  public CCII_ACCESS_IR BITS_START() {return(_BITS_START);};
  public CCII_ACCESS_RO BITS_STOP() {return(_BITS_STOP);};
  public CCII_ACCESS_IR WORD_DATA_LEN() {return(_WORD_DATA_LEN);};
  public CCII_ACCESS_IR WORD_DATA_SEND() {return(_WORD_DATA_SEND);};
  public CCII_ACCESS_IR WORD_DATA_ENA() {return(_WORD_DATA_ENA);};
  public CCII_ACCESS_RO WORD_DATA_REC() {return(_WORD_DATA_REC);};
}
